package com.yn.common.utils.ex;

import org.springframework.util.ObjectUtils;

/**
 * @description:    业务异常的errorcode公共接口
 * @author: 叶甯
 * @create: 2022/9/9 16:59
 * @since: 1.0.0
 * @copyright (C), 2022, https://gitee.com/johnny .All rights reserved.
 */
public interface BaseError {
    int getCode();
    String getMessage();

}
